package com.mhkj.base.earlyWarning.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.mhkj.base.earlyWarning.entity.EarlyWarning;
import com.mics.core.system.base.repository.BaseRepository;

public interface EarlyWarningDao extends BaseRepository<EarlyWarning>{
	@Query("select t from EarlyWarning t where t.status =:status")
	EarlyWarning findByStatus(@Param("status")Integer status);
}
